package cn.bon.schedule.api.pojo.dto;

import cn.bon.schedule.api.pojo.po.RulesWorkOrder;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalTime;

/**
 * @Author Lc_cL
 * @Date 2023/12/14
 * @Description
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Schema(description = "班次班次DVO")
public class WorkOrderDetailsDTO implements Serializable {

    /**
     * 第几天  星期几
     */
    @Schema(description = "星期几，可用值：0~6")
    private Integer week;

    /**
     * 开始时间
     */
    @Schema(description = "当天开始时间:hh:mm")
    private LocalTime timeStart;

    /**
     * 结束时间
     */
    @Schema(description = "当天结束时间:hh:mm")
    private LocalTime timeEnd;

    /**
     * 1上班，0休息
     */
    @Schema(description = "状态：1上班，0休息")
    private Integer stat = 1;

}
